package com.newasia.user.converter;

import com.newasia.user.dal.entitys.DealerInfo;
import com.newasia.user.dal.entitys.SysUser;
import com.newasia.user.dto.SysDealerDto;
import com.newasia.user.dto.SysUserLoginResponse;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

@Mapper(componentModel = "spring")
public interface SysUserConverter {

    @Mappings({})
    SysUserLoginResponse user2Res(SysUser user);

    @Mappings({})
    SysDealerDto dealer2dto(DealerInfo dealer);
    /*@Mappings({})
    AddressDetailResponse address2Res(Address address);

    List<AddressDto> address2List(List<Address> addresses);

    @Mappings({})
    Address req2Address(AddAddressRequest request);

    @Mappings({})
    Address req2Address(UpdateAddressRequest request);*/

}
